{include file="$temps.head" title="$webs.title" keywords="$webs.keywords" description="$webs.description" /}
<form class="layout layui-form" action="{:url('tuikuan')}" method="post">
<ul class="layout fex-column bg-fff">
    <li class="pad-a10 b-b cx-fex-c"><h3>申请退款</h3></li>
    <li class="layout cx-fex-c pad-t10">
        <div class="xl11 cx-fex-l">
            <div class="x3">
                <label class="lab">订单编号</label>
            </div>
            <div class="xs8 xl9">
                <label class="lab t-r">{$order.oid}</label>
            </div>
        </div>
    </li>
    <li class="layout cx-fex-c pad-t10">
        <div class="xl11 cx-fex-l">
            <div class="x3">
                <label class="lab">退款金额</label>
            </div>
            <div class="xs8 xl9">
                <div class="cx-input-tabel">
                    {eq name="$order.playstatus" value="6"}
                    <input type="text" name="tuikuan" placeholder="请输入退款金额" readonly="readonly" class="ipt" value="{:number_format($order.conf.tuikuan / 100,'2')}">
                    {else /}
                    <input type="text" name="tuikuan" placeholder="请输入退款金额" required="" lay-verify="required" class="ipt" value="">
                    {/eq}
                    <span class="cx-input-fl">元</span>
                </div>
            </div>
        </div>
    </li>
    <li class="layout cx-fex-c pad-t15">
        <div class="xl11 cx-fex-l">
            <div class="x3">
                <label class="lab">退款原因</label>
            </div>
            <div class="xs8 xl9">
                {eq name="$order.playstatus" value="6"}
                <textarea class="ipt" name="tuikuanshuoming" readonly="readonly" placeholder="请输入退款原因">{$order.conf.tuikuanshuoming|default=""}</textarea>
                {else /}
                <textarea class="ipt" name="tuikuanshuoming" placeholder="请输入退款原因"></textarea>
                {/eq}

            </div>
        </div>
    </li>
    <li class="layout cx-fex-c pad-t15 pad-b15">
        <input type="hidden" name="oid" placeholder="请输入退款金额" required="" lay-verify="required" class="ipt" value="{$order.oid}">
        {eq name="$order.playstatus" value="6"}<span class="button">申请退款已提交</span>{else /}<button class="button bg-red" lay-submit lay-filter="">申请退款</button>{/eq}
    </li>
</ul>
</form>
<div style="width: 100%;height: 80px;"></div>
{include file="$temps.foot" /}
<div id="kuaidicha" style="display: none;"></div>